package com.wwwarehouse.usercenter.bean.business_relationship;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by xiaoke.ni on 2017/10/26.
 */

public class BRCFDTagsBean implements Parcelable {

    /**
     * list : [{"tagBuId":71652,"tagName":"测试内容y6d5","tagParentUkid":22811,"tagType":"测试内容iuv4","tagUkid":12106}]
     * page : 46080
     * size : 13867
     * total : 24866
     */

    private int page;
    private int size;
    private int total;
    private List<ListBean> list;

    public BRCFDTagsBean() {
    }

    protected BRCFDTagsBean(Parcel in) {
        page = in.readInt();
        size = in.readInt();
        total = in.readInt();
    }

    public static final Creator<BRCFDTagsBean> CREATOR = new Creator<BRCFDTagsBean>() {
        @Override
        public BRCFDTagsBean createFromParcel(Parcel in) {
            return new BRCFDTagsBean(in);
        }

        @Override
        public BRCFDTagsBean[] newArray(int size) {
            return new BRCFDTagsBean[size];
        }
    };

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(page);
        dest.writeInt(size);
        dest.writeInt(total);
    }

    public static class ListBean {
        /**
         * tagBuId : 71652
         * tagName : 测试内容y6d5
         * tagParentUkid : 22811
         * tagType : 测试内容iuv4
         * tagUkid : 12106
         */

        private String tagBuId;
        private String tagName;
        private String tagParentUkid;
        private String tagType;
        private String tagUkid;

        public String getTagBuId() {
            return tagBuId;
        }

        public void setTagBuId(String tagBuId) {
            this.tagBuId = tagBuId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        public String getTagParentUkid() {
            return tagParentUkid;
        }

        public void setTagParentUkid(String tagParentUkid) {
            this.tagParentUkid = tagParentUkid;
        }

        public String getTagType() {
            return tagType;
        }

        public void setTagType(String tagType) {
            this.tagType = tagType;
        }

        public String getTagUkid() {
            return tagUkid;
        }

        public void setTagUkid(String tagUkid) {
            this.tagUkid = tagUkid;
        }
    }
}
